import request from '@/utils/request'

// 查询会员登录记录列表
export function listMember_login_log(params) {
  return request({
    url: 'auiu-ums/ums/member_login_log/list',
    method: 'get',
    params
  })
}

// 查询会员登录记录详细
export function getMember_login_log(id) {
  return request({
    url: 'auiu-ums/ums/member_login_log/' + id,
    method: 'get'
  })
}

// 新增会员登录记录
export function addMember_login_log(data) {
  return request({
    url: 'auiu-ums/ums/member_login_log/add',
    method: 'post',
    data
  })
}

// 修改会员登录记录
export function updateMember_login_log(data) {
  return request({
    url: 'auiu-ums/ums/member_login_log/update',
    method: 'put',
    data
  })
}

// 删除会员登录记录
export function delMember_login_log(data) {
  return request({
    url: 'auiu-ums/ums/member_login_log/delete',
    method: 'delete',
    data
  })
}

// 导出会员登录记录
export function exportMember_login_log(query) {
  return request({
    url: 'auiu-ums/ums/member_login_log/export',
    method: 'get',
    params: query,
    responseType: 'blob'
  })
}
